package com.efast.dmom.mgmt.entity.master;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import java.util.Date;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 质量模块的错误代码组，用于分类
 * </p>
 *
 * @author cong.xu
 * @since 2018-09-20
 */
@TableName("tm_bas_defect_group")
public class TmBasDefectGroup implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 错误代码组id
     */
    @TableId(value = "defect_group_id", type = IdType.AUTO)
    private Integer defectGroupId;
    /**
     * 错误代码组名
     */
    @TableField("defect_group_name")
    private String defectGroupName;
    /**
     * 描述
     */
    @TableField("comments")
    private String comments;
    /**
     * 是否激活
     */
    @TableField("mark_status")
    private Integer markStatus;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 创建用户
     */
    @TableField("create_user")
    private String createUser;
    /**
     * 上次更新时间
     */
    @TableField("last_update_time")
    private Date lastUpdateTime;
    /**
     * 更改用户
     */
    @TableField("last_update_user")
    private String lastUpdateUser;
    /**
     * 版本控制
     */
    @TableField("opt_counter")
    private Integer optCounter;
    /**
     * 企业代码
     */
    @TableField("company_code")
    private String companyCode;


    public Integer getDefectGroupId() {
        return defectGroupId;
    }

    public void setDefectGroupId(Integer defectGroupId) {
        this.defectGroupId = defectGroupId;
    }

    public String getDefectGroupName() {
        return defectGroupName;
    }

    public void setDefectGroupName(String defectGroupName) {
        this.defectGroupName = defectGroupName;
    }
    
    

    public String getComments() {
		return comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public Integer getMarkStatus() {
        return markStatus;
    }

    public void setMarkStatus(Integer markStatus) {
        this.markStatus = markStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public String getLastUpdateUser() {
        return lastUpdateUser;
    }

    public void setLastUpdateUser(String lastUpdateUser) {
        this.lastUpdateUser = lastUpdateUser;
    }

    public Integer getOptCounter() {
        return optCounter;
    }

    public void setOptCounter(Integer optCounter) {
        this.optCounter = optCounter;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    @Override
    public String toString() {
        return "TmBasDefectGroup{" +
        ", defectGroupId=" + defectGroupId +
        ", defectGroupName=" + defectGroupName +
        ", comments=" + comments +
        ", markStatus=" + markStatus +
        ", createTime=" + createTime +
        ", createUser=" + createUser +
        ", lastUpdateTime=" + lastUpdateTime +
        ", lastUpdateUser=" + lastUpdateUser +
        ", optCounter=" + optCounter +
        ", companyCode=" + companyCode +
        "}";
    }
}
